﻿package com.jfdesgagne.traklib.statics {
	
	/**
	 * @author jdesgagne
	 */
	public class TrakTypes {
		public static const MOTION_TRACKING:String = "Motion Tracking";
		public static const COLOR_TRACKING:String = "Color Tracking";
		
		public function TrakTypes() {}
		
		public static function get trackingTypes():Array {
			return [MOTION_TRACKING, COLOR_TRACKING];
		}
		
		public static function getTypesIndex(_val:String):int {
			for(var i:int=0; i<trackingTypes.length; i++) {
				if(trackingTypes[i] == _val) return i;
			}
			return -1;
		}

	}
	
}